package com.yeyks.common.param;

import com.yeyks.common.annotation.StrNotEmpty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author fuchangshuai
 * @date 2019/07/04 09:10
 */
@Data
public class OrderDownParam implements Serializable {
    private static final long serialVersionUID = -2936917548970885408L;

    @ApiModelProperty(value = "开始时间(格式 yyyy-MM-dd HH:mm:ss)")
    private String startTime;
    @ApiModelProperty(value = "结束时间(格式 yyyy-MM-dd HH:mm:ss)")
    private String endTime;
    @NotNull(message = "查询类型必传")
    @ApiModelProperty(value = "查询类型，0代表按照创建时间，1离店时间，2入住时间")
    private Integer timeType;
    @ApiModelProperty(value = "区域")
    private String area;
    @ApiModelProperty(value = "订单状态(逗号隔开)")
    private String status;
    @ApiModelProperty(value = "酒店名称")
    private String hotelName;
    @ApiModelProperty(value = "订单类型不能为空逗号分隔，0c2b,1vip,2b2c,3miniVip")
    //@StrNotEmpty(message = "订单类型不能为空")
    private String vipFlag;
    @ApiModelProperty(value = "订单类型来源，cn")
    private String sourceType;

}
